ADELETE
DELETE
TTEDELETE

Syntax: ADELETE file
   and: DELETE file
    or: DELETE file {,file}    (THOR XVI)
   and: TTEDELETE (file$)
Location: AtariDos (ADELETE) and QL ROM, Toolkit II (DELETE)
          and Qview Tiny Toolkit (TTEDELETE)

The command DELETE removes the stated file from a medium.

The filename must include the name of the medium, unless you have Toolkit II installed, which alters the command so that the default data device is recognised (see DATAD$).

The command does not report an error if a file was not found! However, if an invalid device is used and Toolkit II is not present, an error will be reported.

The THOR XVI variant of this allows several files to be deleted, eg:

DELETE flp1_boot,flp1_main_bas

ADELETE is the same as the original implementation of DELETE except that it works on Atari and IBM PS/2 format disks.

TTEDELETE is the same as the original command, except that it is a function, which returns any error code, allowing error trapping.

Example:
DELETE mdv2_PROG_bak

CROSS-REFERENCE:
WDEL deletes several files interactively.
WDEL_F, WDIR are also worth a look.
